
(function(a) {
	GUOGUO.Tencent_Calculation_Time_Init = function() {
        a(".hlsTimeLeft").each(function() {
            var h = a(this).find(".default_time"),
            g = h.val();
            GUOGUO.Tencent_Calculation_Time(h, g)
        })
    };
    GUOGUO.Tencent_Calculation_Time = function(a, g) {
        var b = g;
        if (b >= 0) {
            var c = parseInt(b / 86400),
            d = parseInt(b / 3600) - c * 24,
            f = parseInt(b / 60) - parseInt(b / 3600) * 60,
            i = parseInt(b / 1) - parseInt(b / 60) * 60;
            a.parent().find(".hls_d").text(c);
            a.parent().find(".hls_h").text(d);
            a.parent().find(".hls_m").text(f);
            a.parent().find(".hls_s").text(i);
            b -= 1;
            a.val(b);
            setTimeout(function() {
            	GUOGUO.Tencent_Calculation_Time(a, b)
            },
            1E3)
        } else a.parent().find(".ms").remove()
    };

})(jQuery);
			
$(function(){
	GUOGUO.Tencent_Calculation_Time_Init();
});			

